package com.chixing.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author smith
 * @since 2025-09-22
 */
@TableName("receive_address")
public class ReceiveAddress implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "addr_id", type = IdType.AUTO)
    private Integer addrId;

    private Integer userId;

    private String addrProvince;

    private String addrCity;

    private String addrArea;

    private String addrDetail;

    private String receiveUsername;

    private Long receiveUserTelno;

    private LocalDateTime addrCreatetime;

    private LocalDateTime addrUpdatetime;

    private Integer addrStatus;

    public Integer getAddrId() {
        return addrId;
    }

    public void setAddrId(Integer addrId) {
        this.addrId = addrId;
    }
    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }
    public String getAddrProvince() {
        return addrProvince;
    }

    public void setAddrProvince(String addrProvince) {
        this.addrProvince = addrProvince;
    }
    public String getAddrCity() {
        return addrCity;
    }

    public void setAddrCity(String addrCity) {
        this.addrCity = addrCity;
    }
    public String getAddrArea() {
        return addrArea;
    }

    public void setAddrArea(String addrArea) {
        this.addrArea = addrArea;
    }
    public String getAddrDetail() {
        return addrDetail;
    }

    public void setAddrDetail(String addrDetail) {
        this.addrDetail = addrDetail;
    }
    public String getReceiveUsername() {
        return receiveUsername;
    }

    public void setReceiveUsername(String receiveUsername) {
        this.receiveUsername = receiveUsername;
    }
    public Long getReceiveUserTelno() {
        return receiveUserTelno;
    }

    public void setReceiveUserTelno(Long receiveUserTelno) {
        this.receiveUserTelno = receiveUserTelno;
    }
    public LocalDateTime getAddrCreatetime() {
        return addrCreatetime;
    }

    public void setAddrCreatetime(LocalDateTime addrCreatetime) {
        this.addrCreatetime = addrCreatetime;
    }
    public LocalDateTime getAddrUpdatetime() {
        return addrUpdatetime;
    }

    public void setAddrUpdatetime(LocalDateTime addrUpdatetime) {
        this.addrUpdatetime = addrUpdatetime;
    }
    public Integer getAddrStatus() {
        return addrStatus;
    }

    public void setAddrStatus(Integer addrStatus) {
        this.addrStatus = addrStatus;
    }

    @Override
    public String toString() {
        return "ReceiveAddress{" +
            "addrId=" + addrId +
            ", userId=" + userId +
            ", addrProvince=" + addrProvince +
            ", addrCity=" + addrCity +
            ", addrArea=" + addrArea +
            ", addrDetail=" + addrDetail +
            ", receiveUsername=" + receiveUsername +
            ", receiveUserTelno=" + receiveUserTelno +
            ", addrCreatetime=" + addrCreatetime +
            ", addrUpdatetime=" + addrUpdatetime +
            ", addrStatus=" + addrStatus +
        "}";
    }
}
